package top.hcode.hoj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import top.hcode.hoj.pojo.entity.course.LessonHandout;

import java.util.List;

@Mapper
@Repository
public interface LessonHandoutMapper extends BaseMapper<LessonHandout> {

    @Select("select * from lesson_handout where lesson_id = #{id}")
    List<LessonHandout> selectByLessonId(Long id);
}
